
import http from "@/utils/vmeitime-http/index.js";
export const getSupplierInfo = (data) => http.get("/applet_user/user/info", data); // 供应商信息
export const getHomeInfo = (data) => http.get("/applet_user/user/getHomeData", data); // 主页统计信息
export const editSupplierInfo = (data) => http.post("/applet_user/user/editInfo", data); // 编辑供应商信息

//获取供应商品牌 和分类列表
export const getSupplierCategoryList = () => http.get("/applet_user/category/getAllCategory");
export const getSupplierBrandList = () => http.get("/applet_user/brand/getSupplierBrand");
// 获取供应商绑定业务员列表
export const getSupplierSalesmanList = (data) => http.get("/applet_user/user/salesPersonList", data);

// 供应商绑定列表
export const getSupplierBindList = (data) => http.get("/applet_shop/supplier_info/list", data);
// 供应商绑定重新提交
export const supplierBindAgain = (data) => http.post("/applet_shop/supplier_info/audit", data);

